package ca.llsutherland.squash.gym;

import ca.llsutherland.squash.administrator.AdministratorsFixture;
import ca.llsutherland.squash.domain.Clock;
import ca.llsutherland.squash.domain.Gym;
import ca.llsutherland.squash.domain.helper.GymsHelper;
import ca.llsutherland.squash.facade.FacadeFactory;


public class GymsFixture {

    public static Gym createRandomValidGym() {
        Gym gym = GymsHelper.createUnpersistedGym("Some Gym Name", new Clock(2010, 1, 1, 1, 0, 0), new Clock(2010, 1, 1, 1, 0, 0));
        gym.setLastUpdatedBy(AdministratorsFixture.createNewAdministrator("Lindsay", "Sutherland"));
        return FacadeFactory.getAdministrationFacade().createGym(gym);
    }
    
    
}
